{% extends "base.html" %}
<!-- questions.html -->

{% load question_list_tags %}
{% load i18n %}
{% load extra_tags %}
{% load general_sidebar_tags %}

{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}

{% block metadescription %}{% spaceless %}
    {% if tag %}
        {% blocktrans with settings.APP_TITLE as app_title %}Questions and answers about {{ tag }} on {{ app_title }}{% endblocktrans %}
    {% endif %}
{% endspaceless %}{% endblock %}

{% block meta %}
<!-- questions meta -->
    <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_url }}" />
<!-- questions meta -->
{% endblock %}

{% block content %}
<!-- questions content -->

<div class="tabBar">
    {% include "question_list/title.html" %}
    <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');" href="{{ feed_url }}" title="{% trans "subscribe to question RSS feed" %}"></a>
    {{ questions.paginator.sort_tabs }}
</div>
<div id="listA">{% for question in questions.paginator.page %}
    {% question_list_item question %}
{% endfor %}</div>
<!-- questions content -->
{% endblock %}

{% block tail %}
<!-- questions tail -->
    <div class="pager">{{ questions.paginator.page_numbers }}</div>
    <div class="pagesize">{{ questions.paginator.page_sizes }}</div>
<!-- questions tail -->
{% endblock %}

{% block sidebar %}
<!-- questions sidebar -->
    {% include "question_list/count.html" %}
	<!-- Commercials:  {% sidebar_upper %} -->

	<!-- Add Interesting tags, ignore tags -->
    {# tag_selector #}

    <!-- Learn more about SOQA -->
    {# sidebar_lower #}

	<!-- show tag statistics of related pages -->	
	{% question_list_related_tags questions.paginator.page %}
<!-- questions sidebar -->
{% endblock %}
<!-- end questions.html -->
